package com.youlai.boot.factory.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.youlai.boot.system.model.vo.MenuVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 服装分类视图对象
 *
 * @author youlaitech
 * @since 2025-08-16 00:26
 */
@Getter
@Setter
@Schema( description = "服装分类视图对象")
public class ClothingCategoryVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "分类ID")
    private Integer id;
    @Schema(description = "父节点ID")
    private Integer parentId;
    @Schema(description = "父节点路径")
    private String treePath;
    @Schema(description = "分类名称")
    private String name;
    @Schema(description = "排序")
    private Integer sort;
    @Schema(description = "显示状态(0:隐藏, 1:显示)")
    private Integer visible;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "子菜单")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private List<ClothingCategoryVO> children;
}
